//---------------------------------------------------------------------------------------------------------------------------------------------------------//
//---------------------------------------------------------------------------------------------------------------------------------------------------------//
#ifndef _LigandNearResidues_h__
#define	_LigandNearResidues_h__
//---------------------------------------------------------------------------------------------------------------------------------------------------------//
//---------------------------------------------------------------------------------------------------------------------------------------------------------//
#include "libraries.h"
//---------------------------------------------------------------------------------------------------------------------------------------------------------//
//---------------------------------------------------------------------------------------------------------------------------------------------------------//
class LigandNearResidues {
  
  private:
    
    String*               ligandName;
    int                   ligandNumber;
    int                   ligandSize;
    
    TListE <String>*      nearResidues;
    
    String*               toString;
    
  protected:
    
    void                  CleanData (void);
    
  public:
    
    LigandNearResidues ();
    LigandNearResidues (const LigandNearResidues&);
    LigandNearResidues (const LigandNearResidues*);
    
    ~LigandNearResidues ();

    void                  LigandName (String*);
    void                  LigandNumber (int);
    void                  LigandSize (int);
    void                  NearResidues (TListE <String>*);
    
    String*               LigandName (void);
    int                   LigandNumber (void);
    int                   LigandSize (void);
    TListE <String>*      NearResidues (void);
    
    bool                  ReadFromString (String*);
    bool                  ReadFromString (char*);
    
    String*               ToString (void);
    
    LigandNearResidues    operator= (const LigandNearResidues&);
    
};
//---------------------------------------------------------------------------------------------------------------------------------------------------------//
//---------------------------------------------------------------------------------------------------------------------------------------------------------//
#endif
//---------------------------------------------------------------------------------------------------------------------------------------------------------//
//---------------------------------------------------------------------------------------------------------------------------------------------------------//
